import { ref } from 'vue'
import { defineStore } from 'pinia'
export const usePiniaState = defineStore('pinia', () => {
  const userName = ref<string>('')
  const getUserName = (data: string) => {
    userName.value = data
  }
  return { userName, getUserName }
})
